home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 #1 / Ham Radio 2000.iso / ham2000 / packet / tf27bsrc / makefile < prev    next >
Encoding:
Makefile  |  1994-08-14  |  5.2 KB  |  207 lines

  1.  
  2. #
  3. #   MAKEFILE  für das Erzeugen eines TheFirmware-Eproms
  4. #
  5. #   R. Schmidt (DL1BHO)  08/1991
  6. #
  7.  
  8. # MACRO-Definitionen
  9.  
  10. qc      = QC
  11. xasm    = XAS
  12. xlnk    = XLK
  13. ron     = - RONNER      # Ronner macht Murks beim Dos-Exit-Code...
  14. ao      = AO
  15.  
  16.  
  17. tf.bin: tfl1.rel tfkiss.rel cruntime.rel l2a.rel l2b.rel l2c.rel l2d.rel \
  18.         l2e.rel l2v.rel l2s.rel tfa.rel tfb.rel tfc.rel tfd.rel tfv.rel  \
  19.         tf.lnk
  20.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  21.   @echo xx   L I N K E R
  22.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  23.   $(xlnk) tf.lnk
  24.   @dir tf.bin
  25.  
  26.  
  27. tfl1.rel: tfl1.mac
  28.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  29.   @echo xx   T F L 1
  30.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  31.   $(xasm) tfl1
  32.  
  33.  
  34. tfkiss.rel: tfkiss.mac
  35.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  36.   @echo xx   T F K I S S
  37.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  38.   $(xasm) tfkiss
  39.  
  40.  
  41. cruntime.rel: cruntime.mac
  42.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  43.   @echo xx   C R U N T I M E
  44.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  45.   $(xasm) cruntime
  46.  
  47.  
  48. l2a.rel: l2a.c all.h l2.h l2s.h l2ext.h
  49.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  50.   @echo xx   L 2 A
  51.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  52.   $(qc) l2a -s
  53.   $(ron) l2a -e4f
  54.   $(ao) l2a.mac -o l2a.cas
  55.   @del l2a.mac
  56.   @ren l2a.cas l2a.mac
  57.   $(xasm) l2a
  58.   @del l2a.mac
  59.  
  60.  
  61. l2b.rel: l2b.c all.h l2.h l2s.h l2ext.h
  62.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  63.   @echo xx   L 2 B
  64.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  65.   $(qc) l2b -s
  66.   $(ron) l2b -e4f
  67.   $(ao) l2b.mac -o l2b.cas
  68.   @del l2b.mac
  69.   @ren l2b.cas l2b.mac
  70.   $(xasm) l2b
  71.   @del l2b.mac
  72.  
  73.  
  74. l2c.rel: l2c.c all.h l2.h l2s.h l2ext.h
  75.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  76.   @echo xx   L 2 C
  77.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  78.   $(qc) l2c -s
  79.   $(ron) l2c -e4f
  80.   $(ao) l2c.mac -o l2c.cas
  81.   @del l2c.mac
  82.   @ren l2c.cas l2c.mac
  83.   $(xasm) l2c
  84.   @del l2c.mac
  85.  
  86.  
  87. l2d.rel: l2d.c all.h l2.h
  88.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  89.   @echo xx   L 2 D
  90.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  91.   $(qc) l2d -s
  92.   @del l2d.mac > nul
  93.   @ren l2d.cas l2d.mac
  94.   $(ao) l2d.mac -o l2d.cas
  95.   @del l2d.mac
  96.   @ren l2d.cas l2d.mac
  97.   $(xasm) l2d
  98.   @del l2d.mac
  99.  
  100.  
  101. l2e.rel: l2e.c all.h l2.h l2s.h l2ext.h
  102.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  103.   @echo xx   L 2 E
  104.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  105.   $(qc) l2e -s
  106.   $(ron) l2e -e4f
  107.   $(ao) l2e.mac -o l2e.cas
  108.   @del l2e.mac
  109.   @ren l2e.cas l2e.mac
  110.   $(xasm) l2e
  111.   @del l2e.mac
  112.  
  113.  
  114. l2v.rel: l2v.c all.h l2.h
  115.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  116.   @echo xx   L 2 V
  117.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  118.   $(qc) l2v -s
  119.   $(ron) l2v -e4f
  120.   $(ao) l2v.mac -o l2v.cas
  121.   @del l2v.mac
  122.   @ren l2v.cas l2v.mac
  123.   $(xasm) l2v
  124.   @del l2v.mac
  125.  
  126.  
  127. l2s.rel: l2s.c all.h l2.h
  128.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  129.   @echo xx   L 2 S
  130.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  131.   $(qc) l2s -s
  132.   $(ron) l2s -e4f
  133.   $(ao) l2s.mac -o l2s.cas
  134.   @del l2s.mac
  135.   @ren l2s.cas l2s.mac
  136.   $(xasm) l2s
  137.   @del l2s.mac
  138.  
  139.  
  140. tfv.rel: tfv.c all.h tf.h l2.h
  141.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  142.   @echo xx   T F V
  143.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  144.   $(qc) tfv -s
  145.   $(ron) tfv -e4f
  146.   $(ao) tfv.mac -o tfv.cas
  147.   @del tfv.mac
  148.   @ren tfv.cas tfv.mac
  149.   $(xasm) tfv
  150.   @del tfv.mac
  151.  
  152.  
  153. tfa.rel: tfa.c all.h tf.h l2.h tfext.h
  154.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  155.   @echo xx   T F A
  156.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  157.   $(qc) tfa -s
  158.   $(ron) tfa -e4f
  159.   $(ao) tfa.mac -o tfa.cas
  160.   @del tfa.mac
  161.   @ren tfa.cas tfa.mac
  162.   $(xasm) tfa
  163.   @del tfa.mac
  164.  
  165.  
  166. tfb.rel: tfb.c all.h tf.h l2.h tfext.h
  167.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  168.   @echo xx   T F B
  169.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  170.   $(qc) tfb -s
  171.   $(ron) tfb -e4f
  172.   $(ao) tfb.mac -o tfb.cas
  173.   @del tfb.mac
  174.   @ren tfb.cas tfb.mac
  175.   $(xasm) tfb
  176.   @del tfb.mac
  177.  
  178.  
  179. tfc.rel: tfc.c all.h tf.h l2.h tfext.h
  180.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  181.   @echo xx   T F C
  182.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  183.   $(qc) tfc -s
  184.   $(ron) tfc -e4f
  185.   $(ao) tfc.mac -o tfc.cas
  186.   @del tfc.mac
  187.   @ren tfc.cas tfc.mac
  188.   $(xasm) tfc
  189.   @del tfc.mac
  190.  
  191.  
  192. tfd.rel: tfd.c all.h tf.h l2.h tfext.h
  193.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  194.   @echo xx   T F D
  195.   @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  196.   $(qc) tfd -s
  197.   $(ron) tfd -e4f
  198.   $(ao) tfd.mac -o tfd.cas
  199.   @del tfd.mac
  200.   @ren tfd.cas tfd.mac
  201.   $(xasm) tfd
  202.   @del tfd.mac
  203.  
  204. #
  205. #  Das war's...
  206. #
  207.